package com.orangeforms.webadmin.app.util;

import cn.hutool.core.convert.NumberChineseFormatter;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;

import java.util.Date;
import java.util.Scanner;

/**
 * OrangeSingleDemo UtilTestMain class
 *
 * @author xisheng
 * @date 2022/06/07
 */
public class UtilTestMain {

    public static void main(String[] args){
        //该月最后一天 输入 年月
//        Date nowMonth = DateUtil.parse("2022-05-01");
//        DateTime dateTimeEnd = DateUtil.endOfMonth(nowMonth);
//        System.out.println(dateTimeEnd);
//
//        Date nowMonthTei = DateUtil.parse("2022-11-1");
//        System.out.println(nowMonthTei);
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextLine()){
            String str = scanner.nextLine();
            Long nums = Long.valueOf(str);

            String valueChinese = NumberChineseFormatter.format(nums,true,true);
            System.out.println(valueChinese);
        }
    }

    public static void isFacadeSamplingDelay(int scoreYear,int scoreMonth){

    }
}
